<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>The Hello, World Applet</title>
</head>
<body>
<!--Deprecated-->
<applet code="HelloWorldApplet.class" height="120" width="320">
    If your browser was Java-enabled, a "Hello, World"
    message would appear here.
    受支持的场合:
    IE, Safar
    javac HelloWorldApplet.java --->HelloWorldApplet.class
    appletviewer helloapple.html --->对应的html文件


</applet>
</body>
</html>